package com.kjtpay.design_pattern.visitor;

/**
 * 失败；种类很多，扩展方便；ConcreteVisitor
 */
class Failing extends Action {

    public Failing() {
        state = "失败";
    }

    @Override
    public String getManConclusion(Man man) {
        return man.type + state
                + "时，闷头喝酒，谁也不用劝。";
    }

    @Override
    public String getWomanConclusion(Woman woman) {
        return woman.type + state
                + "时，眼泪汪汪，谁也劝不了。";
    }
}
